/*
 * Created on Jun 8, 2004
 */
package com.scalar.chiptrack.operations.process;

import java.util.HashMap;

/**
 * @author Ravikanth
**/
public class Product
{
	private int productId 	  	= 0;
	private int parentProductId = 0;
	private int processStepId	= 0;
	private String partNumber 		= null;
	private String processType 		= null;
	private String baseProcessType 	= null;
	private HashMap vendorMap		= null;
	
	private String programCode	= null;
	private String algorithm	= null;
	/**
	 * @return Returns the algorithm.
	 */
	public String getAlgorithm() {
		return algorithm;
	}
	/**
	 * @param algorithm The algorithm to set.
	 */
	public void setAlgorithm(String algorithm) {
		this.algorithm = algorithm;
	}
	/**
	 * @return Returns the crcCode.
	 */
	public String getCrcCode() {
		return crcCode;
	}
	/**
	 * @param crcCode The crcCode to set.
	 */
	public void setCrcCode(String crcCode) {
		this.crcCode = crcCode;
	}
	/**
	 * @return Returns the programCode.
	 */
	public String getProgramCode() {
		return programCode;
	}
	/**
	 * @param programCode The programCode to set.
	 */
	public void setProgramCode(String programCode) {
		this.programCode = programCode;
	}
	private String crcCode		= null;

    // Balaram, April 17, 2005
    private String description      = null;

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    /**
     * @return
     */
    public String getBaseProcessType()
    {
        return baseProcessType;
    }

    /**
     * @return
     */
    public int getParentProductId()
    {
        return parentProductId;
    }

    /**
     * @return
     */
    public String getPartNumber()
    {
        return partNumber;
    }

    /**
     * @return
     */
    public String getProcessType()
    {
        return processType;
    }

    /**
     * @return
     */
    public int getProductId()
    {
        return productId;
    }

    /**
     * @param string
     */
    public void setBaseProcessType(String string)
    {
        baseProcessType = string;
    }

    /**
     * @param i
     */
    public void setParentProductId(int i)
    {
        parentProductId = i;
    }

    /**
     * @param string
     */
    public void setPartNumber(String string)
    {
        partNumber = string;
    }

    /**
     * @param string
     */
    public void setProcessType(String string)
    {
        processType = string;
    }

    /**
     * @param i
     */
    public void setProductId(int i)
    {
        productId = i;
    }

    /**
     * @return
     */
    public int getProcessStepId()
    {
        return processStepId;
    }

    /**
     * @param i
     */
    public void setProcessStepId(int i)
    {
        processStepId = i;
    }

    /**
     * @return
     */
    public HashMap getVendorMap()
    {
        return vendorMap;
    }

    /**
     * @param map
     */
    public void setVendorMap(HashMap map)
    {
        vendorMap = map;
    }

}
